module.exports = (t)->
    t = parseInt(t/1000)
    if t < 1
        return '0 秒'
    h = parseInt(t/3600)
    m = parseInt(t%3600/60)
    s = t%60
    r = []
    if h
        r.push h + " 小时"
    if m
        r.push m + " 分"
    if (not h and s) or (not m)
        r.push s + " 秒"
    return r.join ' '
